﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="RegionSelector.ascx.cs" Inherits="whatpricemyhouse.Controller.RegionSelector" %>
<asp:DropDownList ID="RegionDropList" runat="server" 
    DataSourceID="SqlDataSource1" DataTextField="area" 
    DataValueField="area" CssClass="regionSelect">
</asp:DropDownList>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" 
    ConnectionString="<%$ ConnectionStrings:WhatPriceMyHouseConnectionString %>" 
    SelectCommand="SELECT DISTINCT area FROM suburbs
where area &lt;&gt; ''">
</asp:SqlDataSource>

